home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Science / RLaB / help / type < prev    next >
Text File  |  1994-04-25  |  551b  |  29 lines

  1. type:
  2.  
  3. Syntax:    type ( A )
  4.  
  5. Description:
  6.  
  7.     Type returns a string that describes the type of element
  8.     contained in object A. The valid types for an object vary
  9.     according to the class of the object:
  10.  
  11.           CLASS:    num
  12.           TYPES:    real      complex
  13.  
  14.           CLASS:    string
  15.           TYPES:    string
  16.  
  17.           CLASS:    list
  18.           TYPES:    (see note 1.)
  19.  
  20.           CLASS:    function
  21.           TYPES:    user      builtin
  22.  
  23.  
  24.           Note 1.) If a list object has a string member with name
  25.     "type", then the type function will report the contents of
  26.     that member.
  27.  
  28. See Also: class, show
  29.